package com.bifang.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 定时器日志
 *
 * @author chenzh
 * @since 2020-09-26
 */
@Data
@ApiModel(value = "定时任务日志对象", description = "定时器日志")
public class QrtzTriggersLogVO extends BasePageVO {

    @ApiModelProperty(value = "任务日志主键")
    private Long triggersLogId;

    @ApiModelProperty(value = "调度名称")
    private String schedName;

    @ApiModelProperty(value = "触发器的名字")
    private String triggerName;

    @ApiModelProperty(value = "触发器所属组的名字")
    private String triggerGroup;

    @ApiModelProperty(value = "任务名字")
    private String jobName;

    @ApiModelProperty(value = "任务所属组名字")
    private String jobGroup;

    @ApiModelProperty(value = "触发器描述")
    private String description;

    @ApiModelProperty(value = "优先级")
    private Long priority;

    @ApiModelProperty(value = "触发器的类型，使用cron表达式")
    private String triggerType;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "日程表名称，表qrtz_calendars的calendar_name字段外键")
    private String calendarName;

    @ApiModelProperty(value = "措施或者是补偿执行的策略")
    private Integer misfireInstr;

    @ApiModelProperty(value = "执行状态 0 执行中 1 成功 -1 失败")
    private Integer exFlag;

    @ApiModelProperty(value = "信息描述")
    private String msg;

    @ApiModelProperty(value = "年月")
    private Integer ym;
}
